<%@ Page Language="C#" MasterPageFile="~/Common/WebSiteMaster.master" AutoEventWireup="true" CodeBehind="Z_RealWorld.aspx.cs" Inherits="ScottCateAjax2008.Lesson04.Z_RealWorld" Title="Real World Example" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <asp:ScriptManager ID="ScriptManager1" ScriptMode="debug" runat="server">
        <Scripts>
            <asp:ScriptReference Path="Z_RealWorld.aspx.js" />
        </Scripts>
    </asp:ScriptManager>

    <asp:UpdatePanel ID="UP1" runat="server">
        <ContentTemplate>
        
            <asp:PlaceHolder ID="PH1" runat="server" />
            
        </ContentTemplate>
        
        <Triggers>
            <asp:AsyncPostBackTrigger ControlID="UpdateButton" EventName="click" />
        </Triggers>
    </asp:UpdatePanel>

    <asp:Button ID="UpdateButton" Text="Update From Server" 
                        runat="server" OnClick="UpdateButton_Click" />
            

</asp:Content>
